package cn.csc.module.order.controller.app.vo;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.time.LocalDateTime;

/**
 * 订单项VO
 *
 * @author FrozenWatermelon
 * @date 2020-12-04 11:27:35
 */
@Data
public class OrderItemVO{
    private static final long serialVersionUID = 1L;

//    @Schema(description = "订单项ID" )
//    private BigInteger orderItemId;
    @Schema(description = "订单项ID" )
    private BigInteger id;

    @Schema(description = "店铺id" )
    private BigInteger shopId;

    @Schema(description = "订单id" )
    private BigInteger orderId;

    @Schema(description = "产品ID" )
    private BigInteger spuId;

    @Schema(description = "产品SkuID" )
    private BigInteger skuId;

    @Schema(description = "分类id" )
    private String categoryId;

    @Schema(description = "用户Id" )
    private BigInteger userId;

    @Schema(description = "购物车产品个数" )
    private Integer count;

    @Schema(description = "产品名称" )
    private String spuName;

    @Schema(description = "sku名称" )
    private String skuName;

    @Schema(description = "产品主图片路径" )
    private String pic;

    @Schema(description = "单个orderItem的配送类型1.快递物流(默认）,2.送货上门,3.自提" )
    private Integer deliveryType;

    @Schema(description = "加入购物车时间" )
    private LocalDateTime shopCartTime;

    @Schema(description = "产品价格" )
    private BigDecimal price;

    @Schema(description = "商品总金额" )
    private BigDecimal spuTotalAmount;

	@Schema(description = "发货改变的数量" )
	private Integer changeNum;

    @Schema(description = "运费备注" )
    private String freightRemark;

    @Schema(description = "实付金额" )
    private BigDecimal spuActualAmount;

    @Schema(description = "购物卡支付金额" )
    private BigDecimal cardPayAmount;


    @Schema(description = "支付类型，0微信支付、1购物卡支付、2结合支付" )
    private Integer payType;

}
